<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Layout Dialog Example</title>
<!-- YAHOO UI Utilities Lib, you will need to replace this with the path to your YUI lib file -->
<script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/utilities_2.1.0.js"></script>
<script type="text/javascript" src="../../yui-ext.js"></script>

<link rel="stylesheet" type="text/css" href="../../resources/css/yui-ext.css" />

<script language="javascript" src="layout.js"></script>

<!-- Common Styles for the examples -->
<link rel="stylesheet" type="text/css" href="../examples.css" />
</head>
<body>
<div class="example-info">
    To view the source of this page, right click (Mac users control+click) in this frame and select "View Source" or "This Frame"-&gt;"View Source".
</div>
<h1>Layout Dialog Example</h1>
<p>This example shows how to create a modal dialog with an embedded BorderLayout using LayoutDialog.</p>
<input type="button" id="show-dialog-btn" value="Show Dialog" /><br /><br />
<p>Note that the js is not minified so it is readable. See <a href="layout.js">layout.js</a> for the full source code.</p>

    <!-- dialog is created from existing markup -->
    <div id="hello-dlg" style="visibility:hidden;">
	    <div class="ydlg-hd">Layout Dialog</div>
	    <div class="ydlg-bd">
	        <div id="west" class="ylayout-inactive-content">
		        West
		    </div>
		    <div id="center" class="ylayout-inactive-content">
		    	<br /><input type="button" id="theme-btn" value="Toggle Theme" />
		    </div>
	    </div>
	</div>
</body>
</html>
